package com.cms.framework.web;

/** 
* web常量
* @author zhoutanxin@hotmail.com  
* @date 2018年11月11日 下午10:08:11 
*  
*/
public abstract class WebConstants {
	/** 
	* @Fields SPT : 路径分隔符 
	*/
	public static final String SPT = "/";
	/** 
	* @Fields INDEX : 索引页
	*/
	public static final String INDEX = "index";
	/** 
	* @Fields DEFAULT :  默认模板 
	*/
	public static final String DEFAULT = "default";
	/** 
	* @Fields UTF8 : UTF-8编码 
	*/
	public static final String UTF8 = "UTF-8";
	/** 
	* @Fields MESSAGE : 提示信息
	*/
	public static final String MESSAGE = "message";
	/** 
	* @Fields JSESSION_COOKIE : cookie中的JSESSIONID名称
	*/
	public static final String JSESSION_COOKIE = "JSESSIONID";
	/** 
	* @Fields JSESSION_URL : url中的jsessionid名称
	*/
	public static final String JSESSION_URL = "jsessionid";
	/** 
	* @Fields POST : HTTP POST请求
	*/
	public static final String POST = "POST";
	/** 
	* @Fields GET :  HTTP GET请求
	*/
	public static final String GET = "GET";
	
	
	public static final String	SUCCESS							= "success";
	public static final String	ERROR							= "error";
	public static final String	ERROR_CAPITAL_UPPER				= "Error";
	public static final String	TRUE							= "true";
	public static final String	FALSE							= "false";
	public static final String	MSG								= "msg";
	public static final String	TIMES							= "times";
	public static final String	LOCK							= "lock";
	public static final String	ENTITY							= "e";
	public static final String	dIS								= "dis";
	/*********************************************************************************/
	/** 
	* @Fields HTTP_REFERER_URI_DO_LOGIN : HTTP_REFERER信息
	*/
	public static final String	HTTP_REFERER_URI_DO_LOGIN			= "HTTP_REFERER_URI_DO_LOGIN";

	public static final String	HTTP_REFERER_LOCK					= "HTTP_REFERER_LOCK";
	/*********************************************************************************/
	/** 
	* @Fields INCORRECT_LOGIN_TIMES : 密码错误次数
	*/
	public static final String	INCORRECT_LOGIN_TIMES				= "INCORRECT_LOGIN_TIMES";
	/*********************************************************************************/

	/** 
	* @Fields SMS_CODE : 短信随机码 
	*/
	public static final String	SMS_CODE					= "MEMBER_INFO_SMS_CODE";
	/** 
	* @Fields MOBILE_PHONE : 手机号码 
	*/
	public static final String	MOBILE_PHONE				= "MEMBER_INFO_MOBILE_PHONE";

	/** 
	* @Fields MEMBER_INFO_ENTITY : 会员信息 
	*/
	public static final String	MEMBER_INFO_ENTITY			= "MEMBER_INFO_ENTITY";
	
	/*********************************************************************************/

	/** 
	* @Fields COOKIE_SMS_CODE : 发送到客户端的短信随机码 
	*/
	@Deprecated
	public static final String	COOKIE_SMS_CODE					= "0111D7D4F5464585989122A85D08721D_";
	/** 
	* @Fields COOKIE_MOBILE_PHONE_NUMBER : 发送到客户端手机号码 
	*/
	public static final String	COOKIE_MOBILE_PHONE_NUMBER		= "_C10ECCEC7A4734498B25E1B6B0EA3CBD8_";

	public static final String	COOKIE_SMS_CODE_SALT			= "_%S@C&_";
	public static final String	COOKIE_MOBILE_PHONE_NUMBER_SALT	= "_P@N&N_";

	public static final String	COOKIE_IDENTITY_CERTIFICATION	= "IDENTITY_CERTIFICATION";

	/*********************************************************************************/

	/** 
	* @Fields MEMBER_CODE_PREFIX : 会员编号前缀标识符 
	*/
	public static final String	MEMBER_CODE_PREFIX					= "CE";
	/*********************************************************************************/
	/** 
	* @Fields LOGIN_IMAGE_RAND_CODE : 客户端登录验证码 
	*/
	public static final String	LOGIN_IMAGE_RAND_CODE				= "LOGIN_IMAGE_RAND_CODE";

	public static final String	CHS_RAND_UNICODE					= "CHS_RAND_UNICODE";
	/** 
	* @Fields CHS_VALIDATE_KEY : 中文验证码通过标识 
	*/
	public static final String	CHS_VALIDATE_KEY				= "CHS_VALIDATE_KEY";
	public static final String	IGNORE_CHS_VALIDATE_KEY			= "IGNORE_CHS_VALIDATE_KEY";	
	
	/** 
	* @Fields IGNORE_CHS_VALIDATE_VAL : value为字符串“IGNORE” 
	*/
	public static final String	IGNORE_CHS_VALIDATE_VAL			= "IGNORE_TRUE";
	
	/**********************************************************************************/
	/** 
	* @Fields MANAGE_INFO_ENTITY : 后台管理员信息
	*/
	public static final String	MANAGE_INFO_ENTITY			= "MANAGE_INFO_ENTITY";
}
